Hi,
I trying to convert video clips to my i.beat move player. There is a converter for this, but works only on windows (some kind of mencoder front-end) So please help me with this painfully command lines on mencoder
Mediainfo says:
Code:
General
Complete name                    : 11.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 21.7 MiB
Duration                         : 7mn 13s
Overall bit rate                 : 420 Kbps
Writing application              : MEncoder Sherpya-MinGW-20060312-4.1.0
Writing library                  : MPlayer

Video
ID                               : 0
Format                           : MPEG-4 Visual
Format profile                   : Simple@L3
Format settings, BVOP            : No
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 7mn 13s
Bit rate                         : 314 Kbps
Width                            : 160 pixels
Height                           : 128 pixels
Display aspect ratio             : 5/4
Frame rate                       : 15.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 1.021
Stream size                      : 16.2 MiB (75%)
Writing library                  : XviD 1.1.0 (UTC 2005-11-22)

Audio
ID                               : 1
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 2
Codec ID                         : 50
Codec ID/Hint                    : MP1
Duration                         : 7mn 13s
Bit rate mode                    : Constant
Bit rate                         : 96.0 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits
Stream size                      : 4.97 MiB (23%)
Alignment                        : Split accross interleaves
Interleave, duration             : 26 ms (0.39 video frame)
Interleave, preload duration     : 523 ms
Here is the video http://stardust.linuxolution.org/~tolostoi/TEMP/videohelp/11.avi (server is on my machine, maybe not work all the time)

This is not work well

Code:
mencoder INPUT -o OUTPUT -ofps 18 -vf-add scale=128:160, -vf-add expand=128:160:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64
or this

Code:
mencoder -really-quiet in_file.avi -o out_file.avi -ofps 18 -vf-add scale=220:176,\
 -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts \
bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64
This flipping on video is wrong, maybe for older model of my player is useful, converted videos with command lines is with very bad quality and A/V is not in sync.
Avidemux not working well for me, the fps on video is well, but audio not in sync (player works with 18. 000 and 15.000 fps)

Please excuse my bad English

EDIT:
I found the solution With this fancy command lines to mencoder, trying many options, but audio/video is still out of sync. In the directory where is the installed windows program under wine (TrekStor_i-Beat_move_AVI-Converter_setup) /home/tolostoi/.wine/drive_c/Program Files/TrekStor/i.Beat move/AVI-Converter was a Converter.ini file with command lines. But still out of sync with my mencoder under debian With mencoder.exe from AVI-Converter is perfect

Code:
wine MENCODER.EXE /home/tolostoi/11peno.avi -o 11test_1.avi -ofps 15 -vf-add scale=160:128 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=250:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96
Here is the mencoder.exe that work link http://stardust.linuxolution.org/~tolostoi/TEMP/videohelp/mencoder.tar.gz

The .ini file for someone need it.


Code:
1-1-1=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-1-2=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-1-3=-ofps 15 -vf-add scale=128:72  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-1-1=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-1-2=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-1-3=-ofps 15 -vf-add scale=128:72  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-1-1=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-1-2=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-1-3=-ofps 15 -vf-add scale=128:72  -vf-add expand=128:96:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-2-1=-ofps 15 -vf-add scale=128:128 -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-2-2=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-2-3=-ofps 15 -vf-add scale=128:72  -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-2-1=-ofps 15 -vf-add scale=128:128 -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-2-2=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-2-3=-ofps 15 -vf-add scale=128:72  -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-2-1=-ofps 15 -vf-add scale=128:128 -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-2-2=-ofps 15 -vf-add scale=128:96  -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-2-3=-ofps 15 -vf-add scale=128:72  -vf-add expand=128:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-3-1=-ofps 15 -vf-add scale=160:128 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-3-2=-ofps 15 -vf-add scale=160:120 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-3-3=-ofps 15 -vf-add scale=160:90  -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-3-1=-ofps 15 -vf-add scale=160:128 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-3-2=-ofps 15 -vf-add scale=160:120 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-3-3=-ofps 15 -vf-add scale=160:90  -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-3-1=-ofps 15 -vf-add scale=160:128 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=250:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-3-2=-ofps 15 -vf-add scale=160:120 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=250:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-3-3=-ofps 15 -vf-add scale=160:90  -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=250:max_bframes=0:quant_type=h263 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-4-1=-ofps 15 -vf-add scale=176:144 -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=500:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-4-2=-ofps 15 -vf-add scale=176:132 -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=500:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-4-3=-ofps 15 -vf-add scale=176:99  -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=500:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-4-1=-ofps 15 -vf-add scale=176:144 -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-4-2=-ofps 15 -vf-add scale=176:132 -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

2-4-3=-ofps 15 -vf-add scale=176:99  -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-4-1=-ofps 15 -vf-add scale=176:144 -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-4-2=-ofps 15 -vf-add scale=176:132 -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

3-4-3=-ofps 15 -vf-add scale=176:99  -vf-add expand=176:144:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=350:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=96

1-5-1=-ofps 18 -vf-add scale=220:176, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=550:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

1-5-2=-ofps 18 -vf-add scale=220:165, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=550:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

1-5-3=-ofps 18 -vf-add scale=220:124, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=550:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

2-5-1=-ofps 18 -vf-add scale=220:176, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=450:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

2-5-2=-ofps 18 -vf-add scale=220:165, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=450:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

2-5-3=-ofps 18 -vf-add scale=220:124, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=450:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

3-5-1=-ofps 18 -vf-add scale=220:176, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

3-5-2=-ofps 18 -vf-add scale=220:165, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

3-5-3=-ofps 18 -vf-add scale=220:124, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

1-6-1=-ofps 20 -vf-add scale=320:240 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=600:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=128

1-6-2=-ofps 20 -vf-add scale=320:240 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=600:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=128

1-6-3=-ofps 20 -vf-add scale=320:180 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=600:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=128

2-6-1=-ofps 20 -vf-add scale=320:240 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=500:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=64

2-6-2=-ofps 20 -vf-add scale=320:240 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=500:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=64

2-6-3=-ofps 20 -vf-add scale=320:180 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=500:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=64

3-6-1=-ofps 20 -vf-add scale=320:240 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=450:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=64

3-6-2=-ofps 20 -vf-add scale=320:240 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=450:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=64

3-6-3=-ofps 20 -vf-add scale=320:180 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=450:max_bframes=0:quant_type=h263:me_quality=4 -oac lavc -lavcopts acodec=mp2:abitrate=64